#include"Queue.h"

void test()
{
	Que que1;
	QueueInit(&que1);

	QueuePush(&que1, 1);
	QueuePush(&que1, 2);
	QueuePush(&que1, 3);
	QueuePush(&que1, 4);

	while (!QueueEmpty(&que1))
	{
		printf("%d ", QueueFront(&que1));
		QueuePop(&que1);

	}
	QueueDestroy(&que1);

}

int main()
{
	test();
	return 0;
}